/**
 * 
 */
$(document).ready(function() {
	
	var id = window.location.search.split("=")[1];
	
	 
	$('#viewUser').click(function(){
		window.parent.document.getElementById("rightIframe").src="viewInfo.jsp";
//		window.parent.document.getElementById("leftIframe").src="vip/initViewInfo";
//		window.parent.document.getElementById("leftIframe").src="vip/initViewInfo?id="+id;
	});
	$('#editUser').click(function(){
		window.parent.document.getElementById("rightIframe").src="myInfo.jsp";
//		window.parent.document.getElementById("leftIframe").src="vip/MyInfo.jsp?id="+id;
//		window.parent.document.getElementById("leftIframe").src="vip/initMyInfo";
	});
	$('#editPwd').click(function(){
		window.parent.document.getElementById("rightIframe").src="editPwd.jsp";
//		window.parent.document.getElementById("leftIframe").src="vip/initEditPwd";
//		window.parent.document.getElementById("leftIframe").src="vip/EditPwd.jsp?id="+id;
	});
	$('#myOrder').click(function(){
		window.parent.document.getElementById("rightIframe").src="initMyOrder?id="+id;
//		window.parent.document.getElementById("leftIframe").src="vip/initMyOrder";
//		window.parent.document.getElementById("leftIframe").src="vip/MyOrder.jsp?id="+id;
	});
});